#include "MainWindow.hpp"
#include "ui_MainWindow.h"
#include "classes/about/AboutDialog.hpp"

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    auto dialog = new AboutDialog(this);
    dialog->setAttribute(Qt::WA_DeleteOnClose);
    dialog->exec();
}

MainWindow::~MainWindow()
{
    delete ui;
}
